package org.taobao.ibatiside.core.filemodel;

import org.eclipse.core.resources.IResource;

public class IbatisStatement extends IbatisElement {
	private String id;
	private int category;
	private int offset;
	private int length;
	private int lineNumber;
	private int colNumber;
	private int endOffset;
	
	public IbatisStatement() {
		super();
	}
	public void setMapperFile(IbatisMapperFile mapperFile) {
		setParent(mapperFile);
	}
	public void setCategory(int category) {
		this.category = category;
	}
	public int getCategory() {
		return category;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public void setOffset(int offset) {
		this.offset = offset;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public int getOffset() {
		return offset;
	}
	public void setColNumber(int colNumber) {
		this.colNumber = colNumber;
	}
	public int getColNumber() {
		return colNumber;
	}
	public int getLength() {
		return length;
	}
	public void setLineNumber(int lineNumber) {
		this.lineNumber = lineNumber;
	}
	public int getLineNumber() {
		return lineNumber;
	}
	public int getEndOffset() {
		return endOffset;
	}
	public void setEndOffset(int endOffset) {
		this.endOffset = endOffset;
	}
	@Override
	public IResource getResource() {
		return null;
	}
}
